<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<c:url var="base" value="/" />
<link rel="stylesheet" rev="stylesheet" href="<%=path%>/css/style.css"
	type="text/css" media="all" />
<style type="text/css">
<!--
.atten {
	font-size: 12px;
	font-weight: normal;
	color: #F00;
}
-->
</style>
</head>

<body class="ContentBody">
	<form action="${base}Users?method=addUser" method="post" name="fom"
		id="fom">
		<div class="MainDiv">
			<table width="99%" border="0" cellpadding="0" cellspacing="0"
				class="CContent">
				<tr>
					<th class="tablestyle_title">添加页面</th>
				</tr>
				<tr>
					<td class="CPanel">

						<table border="0" cellpadding="0" cellspacing="0"
							style="width: 100%">

							<TR>
								<TD width="100%">
									<fieldset style="height: 100%;">
										<legend>添加用户</legend>
										<table border="0" cellpadding="2" cellspacing="1"
											style="width: 100%">
											<tr>
												<td nowrap align="right" width="13%">用户名:</td>
												<td width="41%"><input name="username" class="text"
													style="width: 250px" type="text" size="40" /> <span
													class="red"> *</span></td>
												<td align="right" width="19%">密码:(默认12345678)</td>
												<td width="27%"><input name="password" class="text"
													style="width: 250px" value="123" type="text" size="40" />
												</td>
											</tr>
											<tr>
												<td nowrap align="right" width="13%">姓名:</td>
												<td width="41%"><input name="realname" class="text"
													style="width: 250px" type="text" size="40" /> <span
													class="red"> *</span></td>
												<td align="right" width="19%">性别:</td>
												<td width="27%"><select name="gender">
														<option value="男">男</option>
														<option value="女">女</option>
												</select></td>
											</tr>


											<tr>
												<td nowrap align="right" width="13%">电话:</td>
												<td width="41%"><input name="tel" class="text"
													style="width: 250px" type="text" size="40" /> <span
													class="red"> *</span></td>
												<td align="right" width="19%">地址:</td>
												<td width="27%"><input name="address" class="text"
													style="width: 250px" type="text" size="40" /></td>
											</tr>
											<tr>
												<td nowrap align="right" width="13%">年龄</td>
												<td width="41%"><select id="age" name="age">
														<%
															for (int i = 1; i < 120; i++) {
														%>
														<option value="<%=i%>"><%=i%>岁
														</option>
														<%
															}
														%>
												</select> <span class="red"> *</span></td>
												<td align="right" width="19%"></td>
												<td width="27%"></td>
											</tr>


										</table>
										<br />
									</fieldset>
								</TD>
							</TR>

						</TABLE>


					</td>
				</tr>






				<TR>
					<TD colspan="2" align="center" height="50px"><input
						type="submit" name="Submit" value="保存" class="button" /> <input
						type="button" name="Submit2" value="返回" class="button"
						onclick="window.history.go(-1);" /></TD>
				</TR>
			</TABLE>


			<!-- 			</td>
			</tr>




			</table> -->

		</div>
	</form>
</body>
</html>
